package com.power.openfegin.sentinal;

import com.power.domain.Prod;
import com.power.model.Result;
import com.power.openfegin.ProductFegin.StoreProductFegin;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class ProductFeginFallback implements StoreProductFegin {
    @Override
    public Result<Prod> getProdListByIds() {
        log.info("降级了");
        return null;
    }
}
